﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VIES
{
    public class VATInformation
    {
        private string _vatnumber;
        private string _name;
        private string _address;
        private bool _valid;

        internal VATInformation(string vatnumber, string name, string address)
        {
            this._vatnumber = vatnumber;
            this._name = name;
            this._address = address;
            this._valid = false;
        }

        internal VATInformation(string vatnumber, string name, string address, bool isValid)
        {
            this._vatnumber = vatnumber;
            this._name = name;
            this._address = address;
            this._valid = isValid;
        }

        public string VATNumber
        {
            get { return this._vatnumber; }
        }

        public string Name
        {
            get { return this._name; }
        }

        public string Address
        {
            get { return this._address; }
        }

        public bool Valid
        {
            get { return this._valid; }
        }
    }
}
